package com.yh.homestay.pojo;

import org.springframework.stereotype.Repository;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;

@Repository
public class CapitalRoom implements Serializable {

    @Id
    private Integer roomId;

    private String roomName;

    private Integer roomType;

    private String roomDesc;

    private String roomAddress;

    private Integer roomHoldCount;

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName == null ? null : roomName.trim();
    }

    public Integer getRoomType() {
        return roomType;
    }

    public void setRoomType(Integer roomType) {
        this.roomType = roomType;
    }

    public String getRoomDesc() {
        return roomDesc;
    }

    public void setRoomDesc(String roomDesc) {
        this.roomDesc = roomDesc == null ? null : roomDesc.trim();
    }

    public String getRoomAddress() {
        return roomAddress;
    }

    public void setRoomAddress(String roomAddress) {
        this.roomAddress = roomAddress == null ? null : roomAddress.trim();
    }

    public Integer getRoomHoldCount() {
        return roomHoldCount;
    }

    public void setRoomHoldCount(Integer roomHoldCount) {
        this.roomHoldCount = roomHoldCount;
    }

}